package net.csdn.business.webhook.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import net.csdn.business.common.domain.query.WebhookConfigEventQuery;
import net.csdn.business.common.domain.request.webhook.NewWebhookConfigEventDTO;
import net.csdn.business.common.domain.request.webhook.UpdateWebhookConfigEventDTO;
import net.csdn.business.common.domain.request.webhook.WebhookRedeliveryDTO;
import net.csdn.business.common.domain.vo.WebhookConfigEventVO;
import net.csdn.business.webhook.entity.WebhookConfigEvent;

import java.io.IOException;
import java.util.List;

/**
 * webhook配置事件Service接口
 * 
 * @author zhangyal
 * @date 2023-04-23
 */
public interface IWebhookConfigEventService
{


    /**
     * 查询webhook配置事件列表
     * 
     * @param query webhook配置事件
     * @return webhook配置事件集合
     */
    public List<String> selectWebhookConfigEventList(WebhookConfigEventQuery query);

    /**
     * 批量新增webhook配置事件
     * 
     * @param list webhook配置事件列表
     * @return 结果
     */
    public Integer insertWebhookConfigEventBatch(List<WebhookConfigEvent> list);

    /**
     * 删除webhook配置事件信息
     * 
     * @param id webhook配置事件主键
     * @return 结果
     */
    public Integer deleteWebhookConfigEventById(String id);


    public void redelivery(WebhookRedeliveryDTO params) throws Exception;
}
